package lab02.test30;

import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Test30 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        List<Integer> list = new ArrayList<Integer>();
        for (int i = 0; i < 3; i++) {
            int x = sc.nextInt();
            list.add(x);


        }
        int average = 0;
        average = (list.get(0) + list.get(1) + list.get(2)) / 3;
        System.out.println(average);
    }
}
